#pragma once
#include "DlgHomeTab.h"
#include "afxcmn.h"

// CDlgColor dialog

class CDlgColor : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgColor)

public:
	CDlgColor(CWnd* pParent = NULL);   // standard constructor
	CDlgColor(CDlgHomeTab* pParent);

	virtual ~CDlgColor();

// Dialog Data
	enum { IDD = IDD_DIALOG_COLOR };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	//void Apply();
	CDlgHomeTab *m_pHomeTab;
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	CSliderCtrl m_ctrBrightness;
	CSliderCtrl m_ctrContrast;
	afx_msg void OnBnClickedCancel();
//	afx_msg void OnClose();
	afx_msg void OnBnClickedOk();
};
